<?php /*a:3:{s:49:"D:\projects\junhe\app\index\view\index\index.html";i:1742663184;s:51:"D:\projects\junhe\app\index\view\common\header.html";i:1740139655;s:51:"D:\projects\junhe\app\index\view\common\footer.html";i:1740136709;}*/ ?>
<!DOCTYPE html>
<html lang="zh-CN">

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no,mail=yes">

	<title><?php if(isset($article['title'])): ?><?php echo htmlentities($article['title'],ENT_QUOTES); ?> - <?php endif; if(isset($catInfo['title'])): ?><?php echo htmlentities($catInfo['title'],ENT_QUOTES); ?> -
		<?php endif; ?><?php echo htmlentities($config['name'],ENT_QUOTES); ?></title>
	<meta name="keywords"
		content="<?php if(isset($article['keywords'])): ?><?php echo htmlentities($article['keywords'],ENT_QUOTES); elseif(isset($catInfo['keywords'])): ?><?php echo htmlentities($catInfo['keywords'],ENT_QUOTES); else: ?><?php echo htmlentities($config['keyword'],ENT_QUOTES); ?><?php endif; ?>">
	<meta name="description"
		content="<?php if(isset($article['subtitle'])): ?><?php echo htmlentities($article['subtitle'],ENT_QUOTES); elseif(isset($catInfo['desc_text'])): ?><?php echo htmlentities($catInfo['desc_text'],ENT_QUOTES); else: ?><?php echo htmlentities($config['content'],ENT_QUOTES); ?><?php endif; ?>">
	<link rel="shortcut icon" href="<?php echo htmlentities($config['site_icon'],ENT_QUOTES); ?>" type="image/x-icon">
	<script src="/public/home/js/jquery-1.8.3.min.js"></script>
	<link rel="stylesheet" href="/public/home/layui/css/layui.css">
	<link rel="stylesheet" href="/public/home/css/common.css">
	<link rel="stylesheet" href="/public/home/css/hover.css">
	<link rel="stylesheet" href="/public/home/css/index.css">
	<script type="text/javascript" src="/public/home/layui/layui.js"></script>
	<link rel="stylesheet" href="/public/home/css/swiper-bundle.css" />
	<script src="/public/home/js/scrollReveal.js" type="text/javascript"></script>

</head>

<body>
	<header class="header w100">
	
			<div class="layui-main d-flex al-c jc-s">
			
					<div class="d-flex al-c">
						<a href="/" class="logo img_100 mr20 d-fs">
							<img class="" src="<?php echo htmlentities($config['pic'],ENT_QUOTES); ?>">
						</a>
					</div>

					<ul class="d-flex  jc-se al-c layui-nav layui-hide-xs ">
						<li
							class="layui-nav-item <?php if((isset($catTreeList['topCate']['id']) && empty($catTreeList['topCate']['id'])) || !isset($catTreeList['topCate']['id'])): ?>layui-this <?php endif; ?>">
							<a href="/"><?php echo htmlentities($function->getCatInfo('1')['title'],ENT_QUOTES); ?></a>
						</li>

						<?php if(is_array($nav) || $nav instanceof \think\Collection || $nav instanceof \think\Paginator): if( count($nav)==0 ) : echo "" ;else: foreach($nav as $key=>$navValue): ?>
							<li
								class="layui-nav-item <?php if((isset($catTreeList['topCate']['id']) && $catTreeList['topCate']['id'] == $navValue['id'])): ?>layui-this <?php endif; ?> ">
								<a href="<?php echo htmlentities($navValue['url'],ENT_QUOTES); ?>" > <?php echo htmlentities($navValue['title'],ENT_QUOTES); ?></a>
							</li>
						<?php endforeach; endif; else: echo "" ;endif; ?>

					</ul>
					<div class="layui-hide layui-show-xs-block  ">
						<i lay-on="nav" class="layui-icon layui-icon-spread-left "></i>
					</div>
				
				<div class="d-flex gap20 al-c">
				    <?php if($is_login): ?>
					<a href="/index/member/" class="img_box d-fs">
				        <img src="/public/home/images/user-account.png">
				    </a>
					<?php else: ?> 
					<a href="/login" class="layui-btn br25 login-btn d-fs">登录/注册</a>
					<?php endif; ?>
                    
                    <form action="/index/article/search/">
                        <input name="keyword" value=" <?php if(isset($keyword)): ?><?php echo htmlentities($keyword,ENT_QUOTES); ?><?php endif; ?>" placeholder="输入关键词搜索">
                        <input name="model" value="产品" type="hidden">
                        <button>
                            <img src="/public/home/images/search.png">
                        </button>
                    </form>
				</div>
				
			</div>
	</header>

	<script>
  layui.use(function(){
    var layer = layui.layer;
 
    	
    		var util = layui.util;
			util.on({
				nav: function () {
					layer.open({
						type: 1,
						offset: 'l',
						anim: 'slideRight', // 从左往右
						area: ['200px', '100%'],
						shade: 0.1,
						title: false,
						shadeClose: true,
						closeBtn: 0,
						id: 'ID-demo-layer-direction-l',
						content: `
                <ul class="gary_c3 d-grid gap30  pt40 pb40">
                
                	<li class="pl20 pr20 <?php if((isset($catTreeList['topCate']['id']) && empty($catTreeList['topCate']['id'])) || !isset($catTreeList['topCate']['id'])): ?>layui-this <?php endif; ?>">
							<a href="/"><?php echo htmlentities($function->getCatInfo('1')['title'],ENT_QUOTES); ?></a>
						</li>
						<?php if(is_array($nav) || $nav instanceof \think\Collection || $nav instanceof \think\Paginator): if( count($nav)==0 ) : echo "" ;else: foreach($nav as $key=>$navValue): ?>
            			<li
            				class="pl20 pr20 <?php if((isset($catTreeList['topCate']['id']) && $catTreeList['topCate']['id'] == $navValue['id'])): ?>layui-this <?php endif; ?> ">
            				<a <?php if(!$navValue['childList']): ?>href="<?php echo htmlentities($navValue['url'],ENT_QUOTES); ?>" <?php endif; ?>> <?php echo htmlentities($navValue['title'],ENT_QUOTES); ?></a>
            			</li>
            		<?php endforeach; endif; else: echo "" ;endif; ?>
            		</ul>
						
                `
					});
				},
			});
    	
  });

	</script>
<!-- 中间区域 START -->
<!-- 轮播图 -->
<div class="p-r index-swiper w100 p-r">
    <div class="swiper mySwiper">
        <div class="swiper-wrapper">
            <?php if(is_array($banner) || $banner instanceof \think\Collection || $banner instanceof \think\Paginator): if( count($banner)==0 ) : echo "" ;else: foreach($banner as $key=>$val): ?>
            <div class="swiper-slide ">
                <a href="<?php echo htmlentities($val['url'],ENT_QUOTES); ?>" class="img_100"><img src="<?php echo htmlentities($val['img'],ENT_QUOTES); ?>" value="<?php echo htmlentities($val['title'],ENT_QUOTES); ?>"></a>
            </div>
            <?php endforeach; endif; else: echo "" ;endif; ?>
        </div>
        <div class="swiper-button-prev swiper-button-white"></div>
        <div class="swiper-button-next swiper-button-white"></div>
    </div>
</div>


<?php if(is_array($function->getCatChildList(1)) || $function->getCatChildList(1) instanceof \think\Collection || $function->getCatChildList(1) instanceof \think\Paginator): if( count($function->getCatChildList(1))==0 ) : echo "" ;else: foreach($function->getCatChildList(1) as $key=>$cat): if($cat['id'] == '10'): ?>
<section class="bg_img" style="background-image: url(<?php echo htmlentities($cat['logo'],ENT_QUOTES); ?>)">
    <div class="layui-main">
        <div class="title-index">
            <p class="en" data-scroll-reveal="enter top over 1s after 0s"><?php echo htmlentities($cat['keywords'],ENT_QUOTES); ?></p>
            <p class="cn" data-scroll-reveal="enter top over 1s after 0s"><?php echo htmlentities($cat['title'],ENT_QUOTES); ?></p>

        </div>
        <ul class="product-list d-grid grid4 gap40 grid-xs1 gap-xs20 mt40">
            <?php if(is_array($goods_list) || $goods_list instanceof \think\Collection || $goods_list instanceof \think\Paginator): $i = 0; $__LIST__ = $goods_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$goods): $mod = ($i % 2 );++$i;?> 
            <a  data-scroll-reveal="enter left over 1s after <?php echo htmlentities($key*0.4,ENT_QUOTES); ?>s" href="/goods-detail-<?php echo htmlentities($goods['id'],ENT_QUOTES); ?>">
                <div class="img_100 img1">
                    <img src="<?php echo htmlentities($goods['logo'],ENT_QUOTES); ?>">
                </div>
                <p style="white-space: normal;text-align: left;"><?php echo htmlentities($goods['title'],ENT_QUOTES); ?></p>

            </a> 
            <?php endforeach; endif; else: echo "" ;endif; ?>
            <!-- <?php if(is_array($function->getCatArticle(2,8,1)) || $function->getCatArticle(2,8,1) instanceof \think\Collection || $function->getCatArticle(2,8,1) instanceof \think\Paginator): if( count($function->getCatArticle(2,8,1))==0 ) : echo "" ;else: foreach($function->getCatArticle(2,8,1) as $n=>$atc): ?>
            <a  data-scroll-reveal="enter left over 1s after <?php echo htmlentities($n*0.4,ENT_QUOTES); ?>s" href="/index/Article/show/cat_id/<?php echo htmlentities($atc['cat_id'],ENT_QUOTES); ?>/id/<?php echo htmlentities($atc['id'],ENT_QUOTES); ?>">
                <div class="img_100 img1">
                    <img src="<?php echo htmlentities($atc['logo'],ENT_QUOTES); ?>">
                </div>
                <p><?php echo htmlentities($atc['title'],ENT_QUOTES); ?></p>

            </a> 
            <?php endforeach; endif; else: echo "" ;endif; ?> -->
        </ul>
        <div class="mt40 flex-center "  data-scroll-reveal="enter bottom over 1s after 1s">
            <a  href="/site-List-2.html" class="layui-btn btn-blue">全部产品</a>
        </div>
    </div>
</section>
<?php endif; if($cat['id'] == '11'): ?>
<section class="bg_img" style="background-image: url(<?php echo htmlentities($cat['logo'],ENT_QUOTES); ?>)">
    <div class="layui-main">
        <?php if(is_array($function->getCatArticle($cat['id'])) || $function->getCatArticle($cat['id']) instanceof \think\Collection || $function->getCatArticle($cat['id']) instanceof \think\Paginator): if( count($function->getCatArticle($cat['id']))==0 ) : echo "" ;else: foreach($function->getCatArticle($cat['id']) as $key=>$atc): ?>
        <div class="d-grid grid2 gap80 gap30-xs al-c ftc grid-xs1">
            <div data-scroll-reveal="enter right over 1s after 0s">
                <h1 class=" ft40 op40"><?php echo htmlentities($atc['subtitle'],ENT_QUOTES); ?></h1>
                <h1 class="ftc ft26 mt10 "><?php echo htmlentities($atc['title'],ENT_QUOTES); ?></h1>
                <div class="s_content mt50 line18"><?php echo nl2br($atc['content']); ?></div>
                <div class="mt40">
                    <a href="<?php echo htmlentities($atc['keywords'],ENT_QUOTES); ?>" class="layui-btn btn-blue">了解更多</a>
                </div>
            </div>
            <div class="img_box" data-scroll-reveal="enter left over 1s after 0s">
                <img src="<?php echo htmlentities($atc['logo'],ENT_QUOTES); ?>">
            </div>
        </div>
        <?php endforeach; endif; else: echo "" ;endif; ?>



    </div>
</section>
<?php endif; if($cat['id'] == '12'): ?>
<section class="index-industry">
    <div class="layui-main">
        <div class="title-index">
            <p class="en" data-scroll-reveal="enter top over 1s after 0s"><?php echo htmlentities($cat['keywords'],ENT_QUOTES); ?></p>
            <p class="cn" data-scroll-reveal="enter top over 1s after 0s"><?php echo htmlentities($cat['title'],ENT_QUOTES); ?></p>
        </div>
        <ul class="mt40 d-grid grid3 gap20 grid-xs1 industry">

            <?php if(is_array($function->getCatArticle(3,3,1)) || $function->getCatArticle(3,3,1) instanceof \think\Collection || $function->getCatArticle(3,3,1) instanceof \think\Paginator): if( count($function->getCatArticle(3,3,1))==0 ) : echo "" ;else: foreach($function->getCatArticle(3,3,1) as $key=>$atc): ?>
            <a data-scroll-reveal="enter bottom over 1s after <?php echo htmlentities($n*0.4,ENT_QUOTES); ?>s" href="/index/Article/show/cat_id/<?php echo htmlentities($atc['cat_id'],ENT_QUOTES); ?>/id/<?php echo htmlentities($atc['id'],ENT_QUOTES); ?>">
                <div class="img_100">
                    <img src="<?php echo htmlentities($atc['logo'],ENT_QUOTES); ?>">
                </div>
                <div class="content ">

                    <h5 class="layui-elip ft18"><?php echo htmlentities($atc['title'],ENT_QUOTES); ?></h5>
                    <p class="line-clamp2 line18 subtitle"><?php echo htmlentities($atc['subtitle'],ENT_QUOTES); ?></p>
                    <div class="btn">
                        <p><?=date("Y-m-d",strtotime($atc['create_at']))?></p>
                        <p>了解详情</p>
                    </div>
                </div>

            </a>
            <?php endforeach; endif; else: echo "" ;endif; ?>
        </ul>

    </div>
</section>
<?php endif; ?>
<?php endforeach; endif; else: echo "" ;endif; ?>

<script src="/public/home/js/index.js"></script>
<script src="/public/home/js/swiper-bundle.min.js"></script>
<script>
    var swiper = new Swiper(".mySwiper", {
        navigation: {
            nextEl: ".mySwiper .swiper-button-next",
            prevEl: ".mySwiper .swiper-button-prev",
        },
        pagination: {
            el: ".swiper-pagination",
        },
        autoplay: {
            delay: 5000, //1秒切换一次
        },
    });
</script>
<!-- 声明页脚部分 -->

<footer class="pt36 pb36 ">

      <div class="layui-main d-grid gap20 al-c white_c" >
         <a href="/" class="img_box  mb10">
            <img src="<?php echo htmlentities($config['footer_pic'],ENT_QUOTES); ?>">
         </a>
       
            <ul class="d-flex  jc-c al-c gap84 gap20-xs flex-wrap">
        
               <?php if(is_array($nav) || $nav instanceof \think\Collection || $nav instanceof \think\Paginator): if( count($nav)==0 ) : echo "" ;else: foreach($nav as $key=>$navValue): ?>

               <li lay-unselect>
                  <a href="<?php echo htmlentities($navValue['url'],ENT_QUOTES); ?>"> <?php echo htmlentities($navValue['title'],ENT_QUOTES); ?></a>
               </li>
               <?php endforeach; endif; else: echo "" ;endif; ?>

            </ul>

         <ul class="d-flex al-c jc-se flex-wrap">
            <li >
               <div class="item">
              <img class="d-fs" src="/public/home/images/tel.png">    联系电话：<span> <?php echo htmlentities($config['tel'],ENT_QUOTES); ?></span>
               </div>
            </li>
            <li >
               <div class="item">
                 <img class="d-fs" src="/public/home/images/email.png">  <span class="white-nowrap"> 邮箱：</span> <span><?php echo htmlentities($config['email'],ENT_QUOTES); ?></span>
               </div>
            </li>
            <li >
               <div class="item">
                 <img class="d-fs" src="/public/home/images/address.png"> <span class="white-nowrap"> 地址：</span> <span><?php echo htmlentities($config['address'],ENT_QUOTES); ?></span>
               </div>
            </li>

         </ul>
         <p class="ft14 text-align-center"><?php echo htmlentities($config['copy'],ENT_QUOTES); ?></p>
      </div>
</footer>
</body>

</html>